<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title></title>
    <script type="text/javascript" charset="utf-8" src="../editor_config.js"></script>
	<script type="text/javascript" charset="utf-8" src="../editor_all.js"></script>
    <link rel="stylesheet" type="text/css" href="../themes/default/ueditor.css"/>
</head>
<body>
    <h1>UEditor简单功能</h1>

    <!--style给定宽度可以影响编辑器的最终宽度-->
    <script type="text/plain" id="myEditor" style="width:100%; height:80;">
        <p>这里我可以写一些输入提示</p>
    </script>
    <script type="text/javascript">
        var editorOption = {
            toolbars:[['FullScreen', 'Source', 'Undo', 'Redo','|','Bold','underline','fontfamily','fontsize','forecolor','indent',
					'justifyleft','justifycenter','justifyright',
					'|','emotion','attachment']],
            autoClearinitialContent:true,//获到焦点后，去掉默认内容
            wordCount:true,//关闭字数统计
			maximumWords: 100,
            elementPathEnabled:false,//关闭elementPath
			minFrameHeight: 160,
			autoHeightEnabled: false
        };
        var editor_a = new baidu.editor.ui.Editor(editorOption);
        editor_a.render( 'myEditor' );
    </script>

</body>


</html>
